package com.app.demo.dao;

import com.app.demo.bean.YourBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface YourBeanDao extends JpaRepository<YourBean,Integer> {
    /*用户登录使用*/
    List<YourBean> findByNameAndPassword(String name,String password);

}
